package com.ruoyi.train.mapper;

import java.util.List;
import com.ruoyi.train.domain.FirefighterTrain;

/**
 * 培训经历Mapper接口
 *
 * @author ruoyi
 * @date 2024-10-11
 */
public interface FirefighterTrainMapper
{
    /**
     * 查询培训经历
     *
     * @param id 培训经历主键
     * @return 培训经历
     */
    public FirefighterTrain selectFirefighterTrainById(Long id);

    /**
     * 查询培训经历列表
     *
     * @param firefighterTrain 培训经历
     * @return 培训经历集合
     */
    public List<FirefighterTrain> selectFirefighterTrainList(FirefighterTrain firefighterTrain);

    /**
     * 新增培训经历
     *
     * @param firefighterTrain 培训经历
     * @return 结果
     */
    public int insertFirefighterTrain(FirefighterTrain firefighterTrain);

    /**
     * 修改培训经历
     *
     * @param firefighterTrain 培训经历
     * @return 结果
     */
    public int updateFirefighterTrain(FirefighterTrain firefighterTrain);

    /**
     * 删除培训经历
     *
     * @param id 培训经历主键
     * @return 结果
     */
    public int deleteFirefighterTrainById(Long id);

    /**
     * 批量删除培训经历
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFirefighterTrainByIds(Long[] ids);

    void deleteFirefighterTrainByIduser(Long userId);
}
